﻿using System;
using MShop.Core.Domain;
namespace MShop.Core.Service.EmailSender
{
   public interface IEmailSender
    {
        void Send(System.Collections.Generic.IEnumerable<System.Net.Mail.MailMessage> messages);
        void Send(System.Net.Mail.MailMessage message);
        void Send(string from, string to, string subject, string messageText);
        void SendAsync(System.Net.Mail.MailMessage message, object userToken);
        void SendAsync(string from, string recipients, string subject, string body, object userToken);
        void SendAsync(EmailEntity instance, object userToken);
        event System.Net.Mail.SendCompletedEventHandler SendCompleted;
    }
}
